﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cap.aspx.cs" Inherits="cap" %>

<%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <cc1:CaptchaControl ID="ccJoin" runat="server" CaptchaBackgroundNoise="none" CaptchaLength="5"
            CaptchaHeight="60" CaptchaWidth="200" CaptchaLineNoise="None" CaptchaMinTimeout="5"
            CaptchaMaxTimeout="240" />
        <asp:TextBox ID="txtCaptha" runat="server" Width="250px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="revCaptcha" ControlToValidate="txtCaptha" runat="server"
            ValidationGroup="gpSubmit" ErrorMessage="*"></asp:RequiredFieldValidator>
            <asp:Button ID="cmdCapcha" text="captcha" runat="server" 
            onclick="cmdCapcha_Click" />
            <asp:Label runat="server" ID="lblAccount"></asp:Label>
    </div>
    </form>
</body>
</html>
